import { req } from '@/utils';

const config = {
  prefix: '/odin',
  items: [
    // 查询课程列表
    {
      key: 'getCourseList', url: '/teaching_course', method: 'get'
    },
    {
      key: 'getTemplateList', url: '/template_course/list', method: 'get'
    }
  ]
};

export default {
  ...req.createAjax(config)
};
